import java.util.BitSet;

public class Main {
    public static void main(String[] args) {
        int[] array={1,3,2,5,6,7,8};
        MyBitSet set=new MyBitSet();
        for (int i = 0; i < array.length; i++) {
            set.set(array[i]);
        }
        System.out.println(set.get(6));
        System.out.println(set.getCapCity());
        set.reSet(6);
        System.out.println(set.get(6));
    }
}